package com.yoj.common.constant;

/**
 * 消息队列常量
 */
public interface MqConstant {
    // 定义交换机
    String JUDGE_EXCHANGE_NAME = "judge_exchange";

    // 定义判题队列
    String JUDGE_QUEUE_NAME = "judge_queue";

    // 死信交换机
    String JUDGE_DLX_EXCHANGE = "judge_dlx_exchange";

    // 定义死信队列
    String JUDGE_DLX_QUEUE_NAME = "judge_dlx_queue";

    // 定义判题队列路由 key
    String JUDGE_ROUTING_KEY = "judge_routing_key";

    String JUDGE_DLX_ROUTING_KEY = "judge_dlx_routing_key";
}
